package com.kaolaguanli;

import com.facebook.react.ReactActivity;
import org.devio.rn.splashscreen.SplashScreen; // here
import android.os.Bundle;

public class MainActivity extends ReactActivity {

  /**
   * Returns the name of the main component registered from JavaScript. This is used to schedule
   * rendering of the component.
   */
  @Override
  protected String getMainComponentName() {
    return "LazyBearRNApp";
  }
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    SplashScreen.show(this);  // here
    super.onCreate(savedInstanceState);
  }
  // ...other code
//    @Override
//    protected void onPause() {
//        super.onPause();
//        JPushInterface.onPause(this);
//    }
//
//    @Override
//    protected void onResume() {
//        super.onResume();
//        JPushInterface.onResume(this);
//    }
//
//    @Override
//    protected void onDestroy() {
//        super.onDestroy();
//    }
}
